import request from '@/utils/request'

// 获取订单列表
export function getlist(data) {
  return request({
    url: '/exhibition/order/list',
    method: 'get',
    params:data
  })
}
// 获取订单详情
export function getdeilts(id) {
  return request({
    url: '/exhibition/order/order/' + id,
    method: 'get',
  })
}
// 订单下载
export function getdowin(orderId) {
  return request({
    url: '/word/export',
    method: 'get',
    params:{
      orderId
    },
    responseType: 'blob',
  })
}

// 修改订单
export function updateOrder(data) {
  return request({
    url: '/exhibition/order',
    method: 'put',
    data: data
  })
}